package com.chaodev.base.model;

import io.swagger.annotations.ApiModel;

@ApiModel("用户角色部门信息")
public class UserRoleDepart {
    private String id;
    private String roleId;
    private String roleName;
    private String userId;
    private String userName;
    private String departId;
    private String departName;
    private String roleType;
    private String createUser;

    @Override
    public String toString() {
        return "UserRoleDepart{" +
                "id='" + id + '\'' +
                ", roleId='" + roleId + '\'' +
                ", roleName='" + roleName + '\'' +
                ", userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", departId='" + departId + '\'' +
                ", departName='" + departName + '\'' +
                ", roleType='" + roleType + '\'' +
                ", createUser='" + createUser + '\'' +
                '}';
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        if(id.equals("")||id==null){
            this.id ="";
        }else{
            this.id = id;
        }
    }

    public String getRoleType() {
        return roleType;
    }

    public void setRoleType(String roleType) {
        if(roleType.equals("")||roleType==null){
            this.roleType ="";
        }else{
            this.roleType = roleType;
        }
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        if(roleId.equals("")||roleId==null){
            this.roleId ="";
        }else{
            this.roleId = roleId;
        }
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        if(roleName.equals("")||roleName==null){
            this.roleName ="";
        }else{
            this.roleName = roleName;
        }
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        if(userId.equals("")||userId==null){
            this.userId ="";
        }else{
            this.userId = userId;
        }
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        if(userName.equals("")||userName==null){
            this.userName ="";
        }else{
            this.userName = userName;
        }
    }

    public String getDepartId() {
        return departId;
    }

    public void setDepartId(String departId) {
        if(departId.equals("")||departId==null){
            this.departId ="";
        }else{
            this.departId = departId;
        }
    }

    public String getDepartName() {
        return departName;
    }

    public void setDepartName(String departName) {
        if(departName.equals("")||departName==null){
            this.departName ="";
        }else{
            this.departName = departName;
        }
    }

}
